<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<ul class="list">
	<c:forEach var="app" items="${apps}">
  		<li>
  			<a href="/CodeStorage/application/${app.id}/display">${app.nazev}</a>
  			<c:if test="${app.hod != 0}">
  				Hodnocení: (${app.hod}/5)
  			</c:if>
			<c:if test="${app.pocetStazeni != 0}">
  				Staženo: ${app.pocetStazeni}x
  			</c:if>
  			<c:if test="${app.datum != null && !app.datum.isEmpty()}">
  				Vytvořeno: ${app.datum}
  			</c:if>
  		</li>
	</c:forEach>
</ul>

